package com.chance.cc.crawler.development.command.publish.sougou;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.development.command.job.domain.sougou.SouGouRealtimeCrawlerSchedulerJob;
import com.chance.cc.crawler.development.command.script.sougou.SouGouCrawlerScript;
import com.chance.cc.crawler.development.command.trigger.domain.sougou.SouGouCrawlerTriggerInfo;

/**
 * @Author Zhao.Hhuan
 * @Date Create in 2021/4/20 15:41
 * @Description
 *      搜狗问问
 **/
public class SouGouPublishCrawlerJob {

    public static void main(String[] args) {
//        publishSimpleCrawlerJob();
        SouGouCrawlerScript.publishCrawlerNodeScript();
    }

    private static void publishSimpleCrawlerJob(){
        CrawlerJob crawlerJob = SouGouRealtimeCrawlerSchedulerJob.crawlerSchedulejob();
        SouGouCrawlerTriggerInfo.simpleCrawlerScheduleTriggerInfo(crawlerJob.generateCrawlerKey(),crawlerJob.generateCrawlerTriggerKey());
    }


}
